#if !defined(AFX_EDITCONNECTIONDLG_H__86EF7390_4EF1_4D0F_9F99_42DE4AA5AFD6__INCLUDED_)
#define AFX_EDITCONNECTIONDLG_H__86EF7390_4EF1_4D0F_9F99_42DE4AA5AFD6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// EditConnectionDlg.h : header file
//

#include "Codeplotter\textdiagram.h"
 
/////////////////////////////////////////////////////////////////////////////
// CEditConnectionDlg dialog

//##ModelId=431C34CB0242
class CEditConnectionDlg : public CDialog
{
// Construction
public:
	//##ModelId=431C34CB0251
	CEditConnectionDlg(const CTextDiagram& diagram, int nRectFrom, int nRectTo = -1, CWnd* pParent = NULL);   // standard constructor

	//##ModelId=431C34CB0262
	BOOL GetConnection(CTDConnection& conn);

protected:
// Dialog Data
	//{{AFX_DATA(CEditConnectionDlg)
	//##ModelId=431C34CB0272
	CComboBox	m_cbRectTo;
	//##ModelId=431C34CB0280
	CString	m_sRectFrom;
	//##ModelId=431C34CB0281
	int		m_nSideFrom;
	//}}AFX_DATA

	//##ModelId=431C34CB0290
	int m_nRectFrom;
	//##ModelId=431C34CB029F
	int	m_nRectTo;
	//##ModelId=431C34CB02B0
	CTextDiagram m_diagram;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEditConnectionDlg)
	protected:
	//##ModelId=431C34CB02BF
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CEditConnectionDlg)
	//##ModelId=431C34CB02CE
	virtual BOOL OnInitDialog();
	//##ModelId=431C34CB02D0
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_EDITCONNECTIONDLG_H__86EF7390_4EF1_4D0F_9F99_42DE4AA5AFD6__INCLUDED_)
